SetMenuItemRefCon
NEW WITH THE APPEARANCE MANAGER
Sets application-specific information for a menu item.
pascal OSErr SetMenuItemRefCon ( MenuHandle inMenu, SInt16 inItem, SInt32 inRefCon);
inMenu
- The handle to the menu structure of the menu item for which you wish to set information.
inItem
- An integer representing the item number of the menu item for which you wish to set information.
inRefCon
- An integer representing a reference constant with which you wish to set information.
- function result
- A result code; see "Result Codes".
DISCUSSION
If you have any data you want to associate with a menu item, you can do so using theSetMenuItemRefCon
function.SEE ALSO
"Appearance Manager Gestalt Selector Constants".